<?php
use backend\assets\WenmingAsset;
use yii\widgets\ActiveForm;
use yii\helpers\Html;

WenmingAsset::register($this);
$WenmingAssetUrl=$this->getAssetManager()->getBundle(WenmingAsset::className())->baseUrl;
?>
<?php $this->beginPage() ?>
<!DOCTYPE HTML>
<html>
<head>
    <title>微信群助手-登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />

    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>

    <?php $this->head() ?>
</head>
<body style="background:url('/statics/images/loginbeijing.jpg') bottom center;background-size:cover;width:100%;height:100%;">
<div class=" main-content-login">
    <!-- main content start-->
    <div class="main-page login-page ">
        <h2 class="title1">微信群助手beta1<br>
            平台登陆系统</h2>
        <div class="widget-shadow radius-login">
            <div class="login-body">
                <?php $label_class="control-label";
                $form = ActiveForm::begin(
                    [
                        'options' => ['enctype' => 'multipart/form-data', 'class' => 'form-horizontal'],
                        'fieldConfig'=>[
                            'template'=> "{input}{error}",
                        ],
                    ]);
                ?>
                <?= $form->field($model, 'username')->textInput(['maxlength' => 100,'placeholder'=>'请填写用户名','class'=>'user']); ?>
                <?= $form->field($model,'password')->passwordInput(['placeholder'=>'请填写密码','class'=>'lock']);?>
                <div style="width:220px;margin:auto;"><?= Html::submitButton("<img src=\"/statics/images/login_btn.png\" alt=\"登录\" >", ['style'=>'padding:0px;border:0px;width:220px;margin:auto;','name' =>'submit-button']) ?></div>
                <?php ActiveForm::end(); ?>
            </div>
        </div>

    </div>
    <!--footer-->
    <div class="footer-login">
        <p>&copy; 2018 版权归网者科技 | 微信群助手平台</p>		</div>
    <!--//footer-->
</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>